/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.ad.dao;

import org.apache.ibatis.annotations.Param;

import com.jeesite.common.dao.CrudDao;
import com.jeesite.common.mybatis.annotation.MyBatisDao;
import com.jeesite.modules.ad.entity.AdVertiser;

/**
 * 广告主DAO接口
 * 
 * @author chenxm
 * @version 2019-04-16
 */
@MyBatisDao
public interface AdVertiserDao extends CrudDao<AdVertiser> {
	AdVertiser getByAccount(AdVertiser var1);

	/**
	 * 查询所有广告主
	 * 
	 * @param id
	 * @return
	 */
	long findAllAdVertiserByAgent(@Param("id") String id);
}